AM_CPPFLAGS = -Wall -pedantic -pipe

bin_PROGRAMS = oracle genxml

oracle_SOURCES = src/Media.cpp src/Genres.cpp src/Work.cpp src/Node.cpp src/Link.cpp src/Movie.cpp \
		 src/Person.cpp src/MapNode.cpp src/MapKey.cpp src/Movies.cpp src/People.cpp src/Database.cpp \
		 src/Filter.cpp src/XMLUtils.cpp src/LogUtils.cpp src/SAXMoviesHandler.cpp src/SAXPeopleHandler.cpp \
		 src/SAXRequestsHandler.cpp src/TCPServer.cpp src/TCPClientSession.cpp src/oracle.cpp
oracle_CPPFLAGS = -I./include -lxerces-c -lccgnu2 $(AM_CPPFLAGS)

genxml_SOURCES = utils/genxml/genxml.cpp
genxml_CPPFLAGS = -I./include -I./utils/genxml $(AM_CPPFLAGS)

EXTRA_DIST = include/*.hpp doc/Doxyfile lists/*.sh xml/*.xsd utils/genxml/*.*pp